class C
end

class D < C
end

puts D.superclass
puts D.superclass.superclass
puts D.superclass.superclass.superclass
puts "--------------------"
puts Class.ancestors
puts "--------------------"
puts Module.ancestors
puts "--------------------"
puts Object.ancestors
puts "--------------------"
puts Kernel.ancestors
puts Class.class
puts Module.class
puts Object.class
pus Kernel.class